@keyframes fade {
  to {
    opacity: 1;
  }
}
.loading {
  position: fixed;
  width: 100%;
  height: 100%;
  background: fade(@color-dark, 30%) !important;
  z-index: 1000;
  animation: fade 0.2s forwards;
  opacity: 0;
  .ant-spin {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
